-- GENERATED SPELL FOR [Spawn of Mar'li] --


function spell0_15041(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(19448,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15041', 30000, 1)
end

function Sorts_15041(pUnit, Event)
local choix_sorts_15041 = math.random(0, 0)
if choix_sorts_15041 == 0 then
pUnit:RegisterEvent('spell0_15041', 1, 1)
end
end

function mob15041_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15041', math.random(1500, 3000), 1)
end

function mob15041_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15041_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15041_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15041, 1, 'mob15041_Action')
RegisterUnitEvent(15041, 2, 'mob15041_Leave')
RegisterUnitEvent(15041, 3, 'mob15041_Kill')
RegisterUnitEvent(15041, 4, 'mob15041_Die')
